import { createPinia } from 'pinia'
import useAuthStore, { initUserInfo } from './auth'
import useSysMsgStore from './sys-msg'

export default createPinia()

const initStoreData = () => {
  initUserInfo()
}

export { useAuthStore, useSysMsgStore, initStoreData }
